Hooks:PreHook(CrimeSpreeContractMenuComponent, "_setup_new_crime_spree", "_setup_new_crime_spree_cost_dependant", function(self, ...)
	local level_cost = managers.crime_spree:highest_level()
	local coin_cost = math.ceil((math.floor(managers.custom_safehouse:coins())-tweak_data.crime_spree.initial_cost)/tweak_data.crime_spree.cost_per_level)
	local lowest_cost = 0
	if level_cost < coin_cost then
		lowest_cost = level_cost
	else
		lowest_cost = coin_cost
	end
	local levels = {
		0,
		math.floor(lowest_cost/2),
		lowest_cost
	}
	tweak_data.crime_spree.starting_levels = levels
end )
